package edu.sctu.wangxiaoqiang.day20150628;

import java.lang.*;

/**
 * Created by user25 on 2015/6/28.
 */
public class CeShiLei {

    public static void main(String[] args) {
        String path = "D:\\Json\\json.txt";
        String pathurl = "http://api.ii.com.cn/goods/apprec";
        String pathcan = "page=1&size=10";
        String filename = "D:\\Json\\Appbean.txt";

        CreatFile creatFile = new CreatFile();
        creatFile.creatFileJson();
        creatFile.Creat_Appbeantxt();

        Thread thread = new Thread();
        thread.run();

        GetData getData = new GetData();
        getData.getDataFromUrl(path,pathurl,pathcan);

        Json json = new Json();
        json.jsonText1(new GetData().getDataFromUrl(path,pathurl,pathcan));

        Serializable serializable = new Serializable();
        Data data = new Data();
        serializable.WriteObject(data,filename);
        serializable.readObject(filename);

        If_100 if_100 = new If_100();
        if_100.if_100();



    }
}